const buffer = new ArrayBuffer(8);
const view = new DataView(buffer);
console.log(buffer)
// view[0] = 22
console.log(view.setUint16(1,65535))
console.log(view.getUint16(1))